package com.jsnkj.basic.bean;

import java.io.Serializable;

/**
 * 汇付获取认证实体类
 */
public class HuifuOauthRepsBean implements Serializable {

    private String is_auth;
    private String hf_appid;
    private String gh_id;
    private String path;
    private String query;

    public String getIs_auth() {
        return is_auth;
    }

    public void setIs_auth(String is_auth) {
        this.is_auth = is_auth;
    }

    public String getHf_appid() {
        return hf_appid;
    }

    public void setHf_appid(String hf_appid) {
        this.hf_appid = hf_appid;
    }

    public String getGh_id() {
        return gh_id;
    }

    public void setGh_id(String gh_id) {
        this.gh_id = gh_id;
    }

    public String getPath() {
        if(path == null || "".equals(path)){
            return path;
        }
        if(query!=null && !"".equals(query)){
            return path + "?"+query;
        }
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }
}
